#include <stdio.h>
#include <stdlib.h>
#include <time.h>

int main(int argc,char* argv[])
{   
    int tou =35,jiao =94,ji =0,tu =0;
    while(tou)
    {   
        ji=tou;
        tu=35-tou;
        if( (ji*2+tu*4) == 94)
        {
            printf("有%d只鸡\n有%d只兔\n",ji,tu);
        }
        tou--;
    }

    return 0;
}